
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8"/>
    <title>IconFont</title>
    <link rel="stylesheet" href="demo.css">
    <link rel="stylesheet" href="iconfont.css">
</head>
<body>
    <div class="main markdown">
        <h1>IconFont 图标</h1>
        <ul class="icon_lists clear">
            
                <li>
                <i class="icon iconfont icon-rili"></i>
                    <div class="name">日历</div>
                    <div class="fontclass">.icon-rili</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-fanhui"></i>
                    <div class="name">返回</div>
                    <div class="fontclass">.icon-fanhui</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sanjiaoxing"></i>
                    <div class="name">三角形</div>
                    <div class="fontclass">.icon-sanjiaoxing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-sanjiaoxing2"></i>
                    <div class="name">三角形</div>
                    <div class="fontclass">.icon-sanjiaoxing2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ring"></i>
                    <div class="name">圆环</div>
                    <div class="fontclass">.icon-ring</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-protocol"></i>
                    <div class="name">协议</div>
                    <div class="fontclass">.icon-protocol</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-wh"></i>
                    <div class="name">问号</div>
                    <div class="fontclass">.icon-wh</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-unie644"></i>
                    <div class="name">三点</div>
                    <div class="fontclass">.icon-unie644</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-add"></i>
                    <div class="name">add</div>
                    <div class="fontclass">.icon-add</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-calculator"></i>
                    <div class="name">calculator</div>
                    <div class="fontclass">.icon-calculator</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-error"></i>
                    <div class="name">failure</div>
                    <div class="fontclass">.icon-error</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-feedback"></i>
                    <div class="name">feedback</div>
                    <div class="fontclass">.icon-feedback</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-invest"></i>
                    <div class="name">invest</div>
                    <div class="fontclass">.icon-invest</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-less"></i>
                    <div class="name">less</div>
                    <div class="fontclass">.icon-less</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-loan"></i>
                    <div class="name">loan</div>
                    <div class="fontclass">.icon-loan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-message"></i>
                    <div class="name">message</div>
                    <div class="fontclass">.icon-message</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-my"></i>
                    <div class="name">my</div>
                    <div class="fontclass">.icon-my</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-scan"></i>
                    <div class="name">scan</div>
                    <div class="fontclass">.icon-scan</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-success"></i>
                    <div class="name">success</div>
                    <div class="fontclass">.icon-success</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-tips"></i>
                    <div class="name">tips</div>
                    <div class="fontclass">.icon-tips</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-top"></i>
                    <div class="name">top</div>
                    <div class="fontclass">.icon-top</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-money"></i>
                    <div class="name">money</div>
                    <div class="fontclass">.icon-money</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-card"></i>
                    <div class="name">card</div>
                    <div class="fontclass">.icon-card</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-project"></i>
                    <div class="name">project</div>
                    <div class="fontclass">.icon-project</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow"></i>
                    <div class="name">arrow</div>
                    <div class="fontclass">.icon-arrow</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone"></i>
                    <div class="name">iphone</div>
                    <div class="fontclass">.icon-phone</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-lock"></i>
                    <div class="name">lock</div>
                    <div class="fontclass">.icon-lock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-go"></i>
                    <div class="name">go</div>
                    <div class="fontclass">.icon-go</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-correct"></i>
                    <div class="name">correct</div>
                    <div class="fontclass">.icon-correct</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-del"></i>
                    <div class="name">del</div>
                    <div class="fontclass">.icon-del</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-news"></i>
                    <div class="name">news</div>
                    <div class="fontclass">.icon-news</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-record"></i>
                    <div class="name">record</div>
                    <div class="fontclass">.icon-record</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-personal"></i>
                    <div class="name">personal</div>
                    <div class="fontclass">.icon-personal</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-accountinfo"></i>
                    <div class="name">accountinfo</div>
                    <div class="fontclass">.icon-accountinfo</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-back"></i>
                    <div class="name">back</div>
                    <div class="fontclass">.icon-back</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-bankcard"></i>
                    <div class="name">bankcard</div>
                    <div class="fontclass">.icon-bankcard</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-export"></i>
                    <div class="name">export</div>
                    <div class="fontclass">.icon-export</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-financing"></i>
                    <div class="name">financing</div>
                    <div class="fontclass">.icon-financing</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-idcard"></i>
                    <div class="name">idcard</div>
                    <div class="fontclass">.icon-idcard</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-idcard2"></i>
                    <div class="name">idcard2</div>
                    <div class="fontclass">.icon-idcard2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-mobile"></i>
                    <div class="name">mobile</div>
                    <div class="fontclass">.icon-mobile</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-news2"></i>
                    <div class="name">news2</div>
                    <div class="fontclass">.icon-news2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-password"></i>
                    <div class="name">password</div>
                    <div class="fontclass">.icon-password</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-paypsd"></i>
                    <div class="name">paypsd</div>
                    <div class="fontclass">.icon-paypsd</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-phone1"></i>
                    <div class="name">phone</div>
                    <div class="fontclass">.icon-phone1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-print"></i>
                    <div class="name">print</div>
                    <div class="fontclass">.icon-print</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-stautsf"></i>
                    <div class="name">stautsf</div>
                    <div class="fontclass">.icon-stautsf</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-stautss"></i>
                    <div class="name">stautss</div>
                    <div class="fontclass">.icon-stautss</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-user"></i>
                    <div class="name">user</div>
                    <div class="fontclass">.icon-user</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-await"></i>
                    <div class="name">await</div>
                    <div class="fontclass">.icon-await</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-locatype"></i>
                    <div class="name">locatype</div>
                    <div class="fontclass">.icon-locatype</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-protocol1"></i>
                    <div class="name">protocol</div>
                    <div class="fontclass">.icon-protocol1</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-release"></i>
                    <div class="name">release</div>
                    <div class="fontclass">.icon-release</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-meg"></i>
                    <div class="name">meg</div>
                    <div class="fontclass">.icon-meg</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-meg2"></i>
                    <div class="name">meg2</div>
                    <div class="fontclass">.icon-meg2</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-clock"></i>
                    <div class="name">clock</div>
                    <div class="fontclass">.icon-clock</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-code"></i>
                    <div class="name">code</div>
                    <div class="fontclass">.icon-code</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-close"></i>
                    <div class="name">close</div>
                    <div class="fontclass">.icon-close</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-protocol11"></i>
                    <div class="name">protocol</div>
                    <div class="fontclass">.icon-protocol11</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-customer-manager"></i>
                    <div class="name">customer-manager</div>
                    <div class="fontclass">.icon-customer-manager</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-left"></i>
                    <div class="name">arrow-left</div>
                    <div class="fontclass">.icon-arrow-left</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-arrow-right"></i>
                    <div class="name">arrow-right</div>
                    <div class="fontclass">.icon-arrow-right</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-ios"></i>
                    <div class="name">ios</div>
                    <div class="fontclass">.icon-ios</div>
                </li>
            
                <li>
                <i class="icon iconfont icon-android"></i>
                    <div class="name">android</div>
                    <div class="fontclass">.icon-android</div>
                </li>
            
        </ul>

        <h2 id="font-class-">font-class引用</h2>
        <hr>

        <p>font-class是unicode使用方式的一种变种，主要是解决unicode书写不直观，语意不明确的问题。</p>
        <p>与unicode使用方式相比，具有如下特点：</p>
        <ul>
        <li>兼容性良好，支持ie8+，及所有现代浏览器。</li>
        <li>相比于unicode语意明确，书写更直观。可以很容易分辨这个icon是什么。</li>
        <li>因为使用class来定义图标，所以当要替换图标时，只需要修改class里面的unicode引用。</li>
        <li>不过因为本质上还是使用的字体，所以多色图标还是不支持的。</li>
        </ul>
        <p>使用步骤如下：</p>
        <h3 id="-fontclass-">第一步：引入项目下面生成的fontclass代码：</h3>


        <pre><code class="lang-js hljs javascript"><span class="hljs-comment">&lt;link rel="stylesheet" type="text/css" href="./iconfont.css"&gt;</span></code></pre>
        <h3 id="-">第二步：挑选相应图标并获取类名，应用于页面：</h3>
        <pre><code class="lang-css hljs">&lt;<span class="hljs-selector-tag">i</span> <span class="hljs-selector-tag">class</span>="<span class="hljs-selector-tag">iconfont</span> <span class="hljs-selector-tag">icon-xxx</span>"&gt;&lt;/<span class="hljs-selector-tag">i</span>&gt;</code></pre>
        <blockquote>
        <p>"iconfont"是你项目下的font-family。可以通过编辑项目查看，默认是"iconfont"。</p>
        </blockquote>
    </div>
</body>
</html>
